package practice;

class StringTest {
    String str = new String("good");
    int i =18;
    char[] ch = { 't', 'e', 's', 't' };
    public String change(String str , char ch[],int i) {
        str = "test ok";
        i = 19;
        ch[0] = 'b';
    return str;
            }
    public static void main(String[] args) {
        StringTest ex = new StringTest();
      String str =  ex.change(ex.str, ex.ch,ex.i);

        System.out.print(ex.str +ex.i+ " and ");//
        System.out.println(ex.ch);
    } }